package com.rui.visitor.obj;

import java.util.Random;

/**
 * @Description: 具体元素(项目经理)
 * @Author: ZhangRui
 * @Date: 2023/3/3 17:07
 * @Version: 1.0
 */
public class Pm extends Employee {

    public Pm(String name) {
        super(name);
    }

    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }

    public Integer getProject() {
        return new Random().nextInt(10);
    }

}
